package com.atguigu.gmall.product.service.impl;

import com.atguigu.gmall.search.SearchAttr;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.gmall.product.entity.BaseAttrValue;
import com.atguigu.gmall.product.service.BaseAttrValueService;
import com.atguigu.gmall.product.mapper.BaseAttrValueMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author lyd
* @description 针对表【base_attr_value(属性值表)】的数据库操作Service实现
* @createDate 2023-08-15 13:49:56
*/
@Service
public class BaseAttrValueServiceImpl extends ServiceImpl<BaseAttrValueMapper, BaseAttrValue>
    implements BaseAttrValueService{

    @Override
    public List<SearchAttr> getAttrValues(Long skuId) {

        return baseMapper.getAttrValues(skuId);
    }
}




